package cn.kgc.itrip.biz.service;

/**
 * @author 阿泽
 */

import cn.kgc.itrip.beans.common.ServerResponse;
import cn.kgc.itrip.beans.model.vo.order.ItripAddHotelOrderVO;
import cn.kgc.itrip.beans.model.vo.order.ItripModifyHotelOrderVO;
import cn.kgc.itrip.beans.model.vo.order.ValidateRoomStoreVO;
import cn.kgc.itrip.beans.model.vo.order.itripSearchOrderVo;

import javax.servlet.http.HttpServletRequest;

/**
 * 订单
 */
public interface ItripHotelOrderService {

    ServerResponse validateroomstore(ValidateRoomStoreVO validateRoomStoreVo);


    ServerResponse getpersonalorderinfo(Integer orderId);

    ServerResponse getpersonalorderlist(itripSearchOrderVo itripSearchOrderVo,String token);

    ServerResponse getpersonalorderroominfo(Integer orderId);

    void updateOrderStatus(Integer type);
    //查询预订信息
    ServerResponse queryStore(ValidateRoomStoreVO validateRoomStoreVo, String token);

    ServerResponse addhotelorder(ItripAddHotelOrderVO itripAddHotelOrderVO,String token);

    ServerResponse queryOrderById(Long orderId, HttpServletRequest request) throws Exception;
    ServerResponse updateOrderStatusAndPayType(ItripModifyHotelOrderVO itripModifyHotelOrderVO, HttpServletRequest request)throws Exception;
}
